package com.ma5d.driver.driver.service;

import com.ma5d.driver.model.form.DriverFaceModelForm;
import com.ma5d.driver.model.form.UpdateDriverAuthInfoForm;
import com.ma5d.driver.model.vo.driver.DriverLoginVo;
import me.chanjar.weixin.common.error.WxErrorException;

public interface DriverInfoService {

    Long login(String code) throws WxErrorException;

    DriverLoginVo getDriverLoginInfo(String driverId);

    Boolean updateDriverAuthInfo(UpdateDriverAuthInfoForm updateDriverAuthInfoForm);

    Boolean createDriverFaceModel(DriverFaceModelForm driverFaceModelForm);
}
